
<?php

		$a = & get_instance();
	//	$a->load->view("template_breadcrumb");


	//$lang = "vi";
	$lang = set_lang("home");
	$row  = $result;
	//print_r($row);
if(!empty($row) )
{
?>
    <div class="product_detail">
    <p class="sitemap"><a href="<?php echo base_url().'products/category/'.$row['prod_cate'];?>" ><?php echo $row['cat_name']?> </a> &raquo; <?php echo $row['prod_name']?></p>
      <div class="details"><!--khung Sản Phẩm 1-->
          <p id="gallery">
              <?php if (!empty($row['prod_image'])){?><a href="<?php echo base_url(),'upload/product/',$row['prod_image'] ;?>"><img src="<?php echo base_url(),'upload/product/',$row['prod_image'] ;?>" width="300" height="300"/></a><?php } else {?><img width="150" height="120" src="<?php echo base_url()."upload/news/loihinh.jpg"?>"><?php }?></p>
          <div class="detail_r">
              <p>Tên Sản Phầm : <span class="red"><?php echo html_entity_decode($row['prod_name'],ENT_QUOTES,"UTF-8")?></span></p>
              <p>Giá: <span class="red"><?php if(!empty($row['prod_price']))echo number_format($row['prod_price'],0).'VNĐ';else echo "Chưa có giá"?> </span></p>
              <p><?php echo '<span id="contact-form"><a href="" class="contact">Đặt hàng</a></span> ';?></p>
              <div class="clear"></div>
              <p><h3 >Chi tiết:</h3>
              <?php echo html_entity_decode($row['prod_content'],ENT_QUOTES,"UTF-8") ;?>
          </p>
        </div>
    </div>
</div>

<?php
}
?>
